import 'dart:io';
import 'package:crypto/crypto.dart';

class CryptoUtils {
  static Future<String> fileCalculateMD5(File file) async {
    return md5.convert(file.readAsBytesSync()).toString();
  }
}